package ar.com.quickMart.logic;

import java.util.Date;
import java.util.List;

public class Promotion extends Purchasable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2104933433621276634L;
	
	private long code;
	private String description;
	private Date startDate;
	private Date endingDate;
	private int count;
	private Float price;
	private SuperMarket superMarket;
	
	private List<Product> products;
	
	public long getCode() {
		return code;
	}
	public void setCode(long id) {
		this.code = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndingDate() {
		return endingDate;
	}
	public void setEndingDate(Date endingDate) {
		this.endingDate = endingDate;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	

	@Override
	public Float getPrice() {

		return price;
	}
	@Override
	public void setPrice(Float price) {
		
		this.price = price;
	}
	public SuperMarket getSuperMarket() {
		return superMarket;
	}
	public void setSuperMarket(SuperMarket superMarket) {
		this.superMarket = superMarket;
	}
	
	
}
